package org.platform.lwc.system.feign;

import lombok.RequiredArgsConstructor;
import org.platform.lwc.system.service.ISysMenuService;
import org.platform.lwc.system.service.ISysUserService;
import org.platform.lwc.system.vo.MenuPathSocietyRoleKeyVO;
import org.platform.lwc.tool.api.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * 系统服务Feign实现类
 *
 * @author lwc
 */
@RestController
public class SysMenuClient implements ISysMenuClient {
    @Autowired
    private  ISysMenuService menuService;
    @Override
    public R<List<MenuPathSocietyRoleKeyVO>> getMenuPathSocietyRoleKey() {
        return R.data(menuService.getMenuPathSocietyRoleKey());
    }
}
